@echo off

set APP_BASE=D:/hd-workplace/Apache/zephyr/zephyr_eclipse_projects/custom_board_stm32f4x
set ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb
set GNUARMEMB_TOOLCHAIN_PATH=C:/Program Files (x86)/GNU Tools Arm Embedded/7 2018-q2-update
set USER_BOARD=stm32f4_hd
set USER_BOARD_ROOT=%APP_BASE%
rem cmake --clean-first
cmake -GNinja -DBOARD=%USER_BOARD% -DBOARD_ROOT=%USER_BOARD_ROOT% ../app 
ninja
